shift register
Học thuậtThân thiện
A digital circuit diagram shows a 4-bit shift register with data moving from left to right.
Definition
- Noun:
- A shift register is a type of digital circuit, specifically a sequential logic circuit, used in computing and digital electronics. It is a cascade of flip-flops (basic memory units) connected in series so that the output of one flip-flop becomes the input of the next. Its primary function is to store and then move ("shift") binary data (bits) one or more positions to the left or right with each clock pulse.
Usage
- A shift register is a fundamental component for operations involving the temporary storage and movement of data.
- It is used in contexts such as data conversion (e.g., serial-to-parallel, parallel-to-serial), sequence generation, and simple data storage.
- Example: "The microcontroller uses an internal shift register to read the state of multiple buttons using only a few pins."
Examples
- Noun:
- The data was loaded into the shift register before being transmitted serially.
- A linear feedback shift register is often used to generate pseudo-random number sequences.
- To convert parallel data to a serial stream, you feed it into a shift register and then clock the bits out one by one.
Advanced Usage
- "to shift data through a register": This describes the core operation of moving bits within the shift register.
- The control unit shifts the instruction code through the shift register for decoding.
- "N-bit shift register": Specifies the capacity of the register, where N is the number of bits (flip-flops) it can hold.
- The design requires an 8-bit shift register to handle the byte-wide data.
Variants and Related Words
- Linear Feedback Shift Register (LFSR) (n): A specific type of shift register whose input bit is a linear function of its previous state, commonly used in cryptography and digital signal processing for generating pseudo-random sequences.
- Circular Shift Register / Ring Counter (n): A shift register in which the output from the last stage is fed back into the input of the first stage, causing the data to circulate.
- Shift (v): The fundamental action of moving data within the register or in a broader computing context.
Synonyms
- Data register: A more general term for a register that holds data, though not all data registers have shifting capability.
- Sequential circuit: A broader category of digital circuits to which shift registers belong.
Related Phrases
- Serial-in, parallel-out (SIPO): A common mode of operation for a shift register where data enters serially (one bit at a time) and is available for reading in parallel (all bits at once) from the outputs.
- Parallel-in, serial-out (PISO): The inverse operation, where data is loaded in parallel and then shifted out serially.
- Clock pulse: The electronic signal that triggers the shifting action in a synchronous shift register.
A digital circuit diagram shows a 4-bit shift register with data moving from left to right.
Noun
- (computer science) register in which all bits can be shifted one or more positions to the left or to the right